package com.ktjy.ch15.service.impl;

import com.ktjy.ch15.entity.EdocCategory;
import com.ktjy.ch15.mapper.EdocCategoryMapper;
import com.ktjy.ch15.service.EdocCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("edocCategoryService")
public class EdocCategoryServiceImpl implements EdocCategoryService {

    @Autowired
    private EdocCategoryMapper edocCategoryMapper;

    @Override
    public List<EdocCategory> findAll() {
        return edocCategoryMapper.getAll();
    }
}
